<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>GitHub Copilot - AI编程助手革命</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            color: #333;
            background-color: #f9fafb;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        .feature-icon {
            color: #4f46e5;
            background: rgba(79, 70, 229, 0.1);
        }
        .section-title {
            position: relative;
        }
        .section-title:after {
            content: "";
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 50px;
            height: 3px;
            background: #4f46e5;
        }
    </style>
</head>
<body>
    <div class="min-h-screen">
        <!-- Hero Section -->
        <div class="hero-gradient text-white py-20 px-4 sm:px-6 lg:px-8">
            <div class="max-w-7xl mx-auto">
                <div class="flex flex-col lg:flex-row items-center justify-between">
                    <div class="lg:w-1/2 mb-10 lg:mb-0">
                        <h1 class="text-4xl md:text-5xl font-bold leading-tight mb-6">
                            <span class="text-indigo-200">GitHub Copilot</span>
                            <br>您的AI编程伙伴
                        </h1>
                        <p class="text-xl text-indigo-100 mb-8 leading-relaxed">
                            基于OpenAI技术的革命性编程助手，通过人工智能提升您的开发效率，让编码变得更加轻松愉快。
                        </p>
                        <div class="flex flex-col sm:flex-row gap-4">
                            <a href="https://github.com/copilot" class="bg-white text-indigo-600 hover:bg-indigo-50 px-6 py-3 rounded-lg font-medium text-lg transition duration-300 flex items-center justify-center">
                                <i class="fab fa-github mr-2"></i> Build software better, together
                            </a>
                            <a href="#features" class="border-2 border-white text-white hover:bg-white hover:text-indigo-600 px-6 py-3 rounded-lg font-medium text-lg transition duration-300 flex items-center justify-center">
                                <i class="fas fa-chart-line mr-2"></i> 探索功能
                            </a>
                        </div>
                    </div>
                    <div class="lg:w-1/2 flex justify-center">
                        <div class="relative">
                            <div class="bg-indigo-500 rounded-2xl p-6 w-full max-w-md shadow-2xl transform rotate-1">
                                <div class="bg-gray-900 rounded-lg overflow-hidden">
                                    <div class="bg-gray-800 px-4 py-2 flex items-center">
                                        <div class="flex space-x-2">
                                            <div class="w-3 h-3 rounded-full bg-red-500"></div>
                                            <div class="w-3 h-3 rounded-full bg-yellow-500"></div>
                                            <div class="w-3 h-3 rounded-full bg-green-500"></div>
                                        </div>
                                        <div class="text-gray-400 text-sm ml-4">example.py</div>
                                    </div>
                                    <div class="p-4 font-mono text-sm">
                                        <div class="text-gray-400"># 使用Python计算斐波那契数列</div>
                                        <div class="text-purple-400">def</div> <div class="text-blue-400">fibonacci</div>(n):
                                        <div class="pl-4 text-purple-400">if</div> n <= <div class="text-green-400">1</div>:
                                        <div class="pl-8 text-purple-400">return</div> n
                                        <div class="pl-4 text-purple-400">else</div>:
                                        <div class="pl-8 text-purple-400">return</div> fibonacci(n-<div class="text-green-400">1</div>) + fibonacci(n-<div class="text-green-400">2</div>)
                                        <div class="text-gray-600 mt-4 flex items-center">
                                            <div class="w-4 h-4 bg-indigo-500 mr-2 rounded-sm"></div>
                                            Copilot建议: 考虑使用记忆化优化递归性能
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="absolute -bottom-6 -right-6 bg-indigo-400 rounded-full w-16 h-16 flex items-center justify-center text-white">
                                <i class="fas fa-robot text-2xl"></i>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Features Section -->
        <div id="features" class="py-16 px-4 sm:px-6 lg:px-8 bg-white">
            <div class="max-w-7xl mx-auto">
                <h2 class="text-3xl font-bold text-gray-900 mb-12 section-title">核心功能概述</h2>
                
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
                    <div class="bg-gray-50 rounded-xl p-8 card-hover">
                        <div class="feature-icon w-16 h-16 rounded-full flex items-center justify-center mb-6">
                            <i class="fas fa-code text-2xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-3">智能代码补全</h3>
                        <p class="text-gray-600">根据上下文自动生成代码片段，支持多种编程语言，显著加快编码速度。</p>
                    </div>
                    
                    <div class="bg-gray-50 rounded-xl p-8 card-hover">
                        <div class="feature-icon w-16 h-16 rounded-full flex items-center justify-center mb-6">
                            <i class="fas fa-comment-dots text-2xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-3">自然语言转代码</h3>
                        <p class="text-gray-600">将注释或描述转换为可执行代码，让想法快速变为现实。</p>
                    </div>
                    
                    <div class="bg-gray-50 rounded-xl p-8 card-hover">
                        <div class="feature-icon w-16 h-16 rounded-full flex items-center justify-center mb-6">
                            <i class="fas fa-sync-alt text-2xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-3">代码重构建议</h3>
                        <p class="text-gray-600">提供代码优化和重构方案，帮助您编写更高效、更清晰的代码。</p>
                    </div>
                    
                    <div class="bg-gray-50 rounded-xl p-8 card-hover">
                        <div class="feature-icon w-16 h-16 rounded-full flex items-center justify-center mb-6">
                            <i class="fas fa-file-alt text-2xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-3">文档生成</h3>
                        <p class="text-gray-600">自动生成函数说明和API文档，节省文档编写时间。</p>
                    </div>
                    
                    <div class="bg-gray-50 rounded-xl p-8 card-hover">
                        <div class="feature-icon w-16 h-16 rounded-full flex items-center justify-center mb-6">
                            <i class="fas fa-globe text-2xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-3">多语言支持</h3>
                        <p class="text-gray-600">覆盖主流编程语言和框架，满足不同开发需求。</p>
                    </div>
                    
                    <div class="bg-gray-50 rounded-xl p-8 card-hover">
                        <div class="feature-icon w-16 h-16 rounded-full flex items-center justify-center mb-6">
                            <i class="fas fa-brain text-2xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-3">持续学习</h3>
                        <p class="text-gray-600">基于GitHub海量代码库训练，不断更新适应最新编程趋势。</p>
                    </div>
                </div>
            </div>
        </div>

        <!-- Use Cases Section -->
        <div class="py-16 px-4 sm:px-6 lg:px-8 bg-gray-50">
            <div class="max-w-7xl mx-auto">
                <h2 class="text-3xl font-bold text-gray-900 mb-12 section-title">使用场景</h2>
                
                <div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
                    <div class="bg-white rounded-xl p-8 shadow-sm card-hover">
                        <div class="text-indigo-500 mb-4">
                            <i class="fas fa-lightbulb text-4xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-3">快速原型开发</h3>
                        <p class="text-gray-600 mb-4">将需求描述转换为基础代码框架，快速验证想法。</p>
                        <div class="bg-indigo-50 text-indigo-700 px-4 py-2 rounded-lg inline-block">
                            <i class="fas fa-clock mr-2"></i> 节省60%开发时间
                        </div>
                    </div>
                    
                    <div class="bg-white rounded-xl p-8 shadow-sm card-hover">
                        <div class="text-indigo-500 mb-4">
                            <i class="fas fa-search text-4xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-3">代码审查</h3>
                        <p class="text-gray-600 mb-4">提供代码质量改进建议，提升团队代码一致性。</p>
                        <div class="bg-indigo-50 text-indigo-700 px-4 py-2 rounded-lg inline-block">
                            <i class="fas fa-chart-bar mr-2"></i> 提升30%代码质量
                        </div>
                    </div>
                    
                    <div class="bg-white rounded-xl p-8 shadow-sm card-hover">
                        <div class="text-indigo-500 mb-4">
                            <i class="fas fa-graduation-cap text-4xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-3">学习新语言</h3>
                        <p class="text-gray-600 mb-4">通过AI建议快速掌握新编程语言的最佳实践。</p>
                        <div class="bg-indigo-50 text-indigo-700 px-4 py-2 rounded-lg inline-block">
                            <i class="fas fa-rocket mr-2"></i> 加速50%学习曲线
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Benefits Section -->
        <div class="py-16 px-4 sm:px-6 lg:px-8 bg-white">
            <div class="max-w-7xl mx-auto">
                <h2 class="text-3xl font-bold text-gray-900 mb-12 section-title">优势与特色</h2>
                
                <div class="flex flex-col lg:flex-row items-center gap-12">
                    <div class="lg:w-1/2">
                        <div class="mermaid">
                            graph TD
                                A[GitHub Copilot] --> B[基于GitHub海量代码库训练]
                                A --> C[与主流IDE深度集成]
                                A --> D[持续学习更新]
                                A --> E[团队协作支持]
                                B --> F[更准确的代码建议]
                                C --> G[VS Code, JetBrains等]
                                D --> H[适应最新编程趋势]
                                E --> I[共享代码建议]
                        </div>
                    </div>
                    <div class="lg:w-1/2">
                        <div class="space-y-6">
                            <div class="flex items-start">
                                <div class="flex-shrink-0 bg-indigo-100 rounded-lg p-3">
                                    <i class="fas fa-database text-indigo-600 text-xl"></i>
                                </div>
                                <div class="ml-4">
                                    <h3 class="text-lg font-medium text-gray-900">海量代码训练</h3>
                                    <p class="mt-1 text-gray-600">基于GitHub上数百万公开代码库训练，提供行业最佳实践的代码建议。</p>
                                </div>
                            </div>
                            
                            <div class="flex items-start">
                                <div class="flex-shrink-0 bg-indigo-100 rounded-lg p-3">
                                    <i class="fas fa-plug text-indigo-600 text-xl"></i>
                                </div>
                                <div class="ml-4">
                                    <h3 class="text-lg font-medium text-gray-900">IDE深度集成</h3>
                                    <p class="mt-1 text-gray-600">无缝集成VS Code、JetBrains等主流开发环境，不打断您的编码流程。</p>
                                </div>
                            </div>
                            
                            <div class="flex items-start">
                                <div class="flex-shrink-0 bg-indigo-100 rounded-lg p-3">
                                    <i class="fas fa-brain text-indigo-600 text-xl"></i>
                                </div>
                                <div class="ml-4">
                                    <h3 class="text-lg font-medium text-gray-900">持续进化</h3>
                                    <p class="mt-1 text-gray-600">模型持续更新，始终掌握最新的编程语言特性和框架更新。</p>
                                </div>
                            </div>
                            
                            <div class="flex items-start">
                                <div class="flex-shrink-0 bg-indigo-100 rounded-lg p-3">
                                    <i class="fas fa-users text-indigo-600 text-xl"></i>
                                </div>
                                <div class="ml-4">
                                    <h3 class="text-lg font-medium text-gray-900">团队协作</h3>
                                    <p class="mt-1 text-gray-600">支持团队共享代码建议，保持代码风格一致，提高协作效率。</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Pricing Section -->
        <div class="py-16 px-4 sm:px-6 lg:px-8 bg-indigo-50">
            <div class="max-w-7xl mx-auto">
                <h2 class="text-3xl font-bold text-gray-900 mb-12 section-title">使用门槛与成本</h2>
                
                <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
                    <div class="bg-white rounded-xl p-8 shadow-sm card-hover">
                        <div class="flex items-center mb-6">
                            <i class="fas fa-user text-indigo-500 text-2xl mr-3"></i>
                            <h3 class="text-xl font-semibold">个人版</h3>
                        </div>
                        <div class="mb-6">
                            <span class="text-4xl font-bold text-gray-900">$10</span>
                            <span class="text-gray-600">/月</span>
                        </div>
                        <ul class="space-y-3 mb-8">
                            <li class="flex items-start">
                                <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
                                <span>完整的代码补全功能</span>
                            </li>
                            <li class="flex items-start">
                                <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
                                <span>支持所有主流编程语言</span>
                            </li>
                            <li class="flex items-start">
                                <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
                                <span>与VS Code、JetBrains等IDE集成</span>
                            </li>
                            <li class="flex items-start">
                                <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
                                <span>学生可免费使用</span>
                            </li>
                        </ul>
                        <a href="#" class="block w-full bg-indigo-600 hover:bg-indigo-700 text-white text-center py-3 px-6 rounded-lg font-medium transition duration-300">
                            立即订阅
                        </a>
                    </div>
                    
                    <div class="bg-white rounded-xl p-8 shadow-sm card-hover">
                        <div class="flex items-center mb-6">
                            <i class="fas fa-building text-indigo-500 text-2xl mr-3"></i>
                            <h3 class="text-xl font-semibold">企业版</h3>
                        </div>
                        <div class="mb-6">
                            <span class="text-4xl font-bold text-gray-900">定制</span>
                            <span class="text-gray-600">报价</span>
                        </div>
                        <ul class="space-y-3 mb-8">
                            <li class="flex items-start">
                                <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
                                <span>包含个人版所有功能</span>
                            </li>
                            <li class="flex items-start">
                                <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
                                <span>团队协作与共享代码建议</span>
                            </li>
                            <li class="flex items-start">
                                <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
                                <span>企业级安全与合规</span>
                            </li>
                            <li class="flex items-start">
                                <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
                                <span>优先技术支持</span>
                            </li>
                        </ul>
                        <a href="#" class="block w-full bg-gray-800 hover:bg-gray-900 text-white text-center py-3 px-6 rounded-lg font-medium transition duration-300">
                            联系销售
                        </a>
                    </div>
                </div>
            </div>
        </div>

        <!-- Getting Started Section -->
        <div class="py-16 px-4 sm:px-6 lg:px-8 bg-white">
            <div class="max-w-7xl mx-auto">
                <h2 class="text-3xl font-bold text-gray-900 mb-12 section-title">上手指南</h2>
                
                <div class="flex flex-col lg:flex-row items-center gap-12">
                    <div class="lg:w-1/2">
                        <div class="space-y-8">
                            <div class="flex items-start">
                                <div class="flex-shrink-0 bg-indigo-100 rounded-lg w-12 h-12 flex items-center justify-center text-indigo-600 font-bold text-xl">1</div>
                                <div class="ml-6">
                                    <h3 class="text-lg font-medium text-gray-900">注册GitHub账号</h3>
                                    <p class="mt-1 text-gray-600">如果您还没有GitHub账号，首先需要注册一个免费账号。</p>
                                </div>
                            </div>
                            
                            <div class="flex items-start">
                                <div class="flex-shrink-0 bg-indigo-100 rounded-lg w-12 h-12 flex items-center justify-center text-indigo-600 font-bold text-xl">2</div>
                                <div class="ml-6">
                                    <h3 class="text-lg font-medium text-gray-900">订阅Copilot服务</h3>
                                    <p class="mt-1 text-gray-600">选择适合您的订阅方案，个人或企业版。</p>
                                </div>
                            </div>
                            
                            <div class="flex items-start">
                                <div class="flex-shrink-0 bg-indigo-100 rounded-lg w-12 h-12 flex items-center justify-center text-indigo-600 font-bold text-xl">3</div>
                                <div class="ml-6">
                                    <h3 class="text-lg font-medium text-gray-900">安装插件</h3>
                                    <p class="mt-1 text-gray-600">在您喜欢的IDE中安装GitHub Copilot插件。</p>
                                </div>
                            </div>
                            
                            <div class="flex items-start">
                                <div class="flex-shrink-0 bg-indigo-100 rounded-lg w-12 h-12 flex items-center justify-center text-indigo-600 font-bold text-xl">4</div>
                                <div class="ml-6">
                                    <h3 class="text-lg font-medium text-gray-900">开始编码</h3>
                                    <p class="mt-1 text-gray-600">开始编写代码，Copilot将实时提供智能建议。</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="lg:w-1/2">
                        <div class="bg-gray-900 rounded-xl overflow-hidden shadow-xl">
                            <div class="p-4 bg-gray-800 flex items-center justify-between">
                                <div class="flex items-center">
                                    <div class="flex space-x-2 mr-4">
                                        <div class="w-3 h-3 rounded-full bg-red-500"></div>
                                        <div class="w-3 h-3 rounded-full bg-yellow-500"></div>
                                        <div class="w-3 h-3 rounded-full bg-green-500"></div>
                                    </div>
                                    <span class="text-gray-300 text-sm">VS Code</span>
                                </div>
                                <div class="text-gray-400 text-sm">GitHub Copilot: 已激活</div>
                            </div>
                            <div class="p-6">
                                <div class="font-mono text-sm">
                                    <div class="text-gray-400">// 安装GitHub Copilot扩展</div>
                                    <div class="text-green-400 my-2">1. 打开VS Code扩展市场</div>
                                    <div class="text-green-400 my-2">2. 搜索"GitHub Copilot"</div>
                                    <div class="text-green-400 my-2">3. 点击安装</div>
                                    <div class="text-gray-400 mt-4">// 登录GitHub账号</div>
                                    <div class="text-blue-400 my-2">1. 点击底部状态栏Copilot图标</div>
                                    <div class="text-blue-400 my-2">2. 选择"Sign in to GitHub"</div>
                                    <div class="text-gray-400 mt-4">// 开始使用</div>
                                    <div class="text-purple-400 my-2">开始编码，按Tab接受建议</div>
                                    <div class="text-gray-600 mt-6 flex items-center">
                                        <div class="w-4 h-4 bg-indigo-500 mr-2 rounded-sm"></div>
                                        Copilot提示: 按Alt+[或Alt+]可循环浏览建议
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true,
                curve: 'basis'
            }
        });
        
        // 微交互效果
        document.querySelectorAll('.card-hover').forEach(card => {
            card.addEventListener('mouseenter', function() {
                this.style.boxShadow = '0 10px 25px rgba(0, 0, 0, 0.1)';
            });
            card.addEventListener('mouseleave', function() {
                this.style.boxShadow = '';
            });
        });
    </script>
</body>
</html>